package com.affablebean.model;

import com.affablebean.model.repository.Categories;
import com.affablebean.model.repository.Customer_orders;
import com.affablebean.model.repository.Customers;
import com.affablebean.model.repository.Products;

public class DbContext {

	private Categories categories;
	private Products products;
	private Customers customers;
	private Customer_orders customer_orders;

	public Categories getCategories() {
		if (categories == null) categories = new Categories();
		return categories;
	}

	public Products getProducts() {
		if (products == null) products = new Products();
		return products;
	}

	public Customers getCustomers() {
		if (customers == null) customers = new Customers();
		return customers;
	}

	public Customer_orders getCustomer_orders() {
		if (customer_orders == null) customer_orders = new Customer_orders();
		return customer_orders;
	}
}
